<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="Camera3D,com.derschmale.wick3d.cameras.Camera3D,projection,fieldOfView,frustum,target,boom,dolly,pan,transformToViewCoords" name="keywords">
<title>com.derschmale.wick3d.cameras.Camera3D</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Camera3D - Wick3d Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Wick3d Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?com/derschmale/wick3d/cameras/Camera3D.html&amp;com/derschmale/wick3d/cameras/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;Camera3D</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class Camera3D"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.derschmale.wick3d.cameras</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class Camera3D</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">Camera3D <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> <a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
  The Camera3D class defines the viewpoint (ie. eye position) from which the 3D world is rendered. Properties that affect the conversion from 3D world to 2D screen coordinates, such as the projection and field of view are set here.
  
  <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="../projections/PerspectiveProjection.html" target="">com.derschmale.wick3d.projections.PerspectiveProjection</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#fieldOfView">fieldOfView</a> : Number<div class="summaryTableDescription">
   The horizontal angle of view that can be seen through the camera's "lens".</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#frustum">frustum</a> : <a href="../core/frustum/ViewFrustum.html">ViewFrustum</a>
<div class="summaryTableDescription">
   The view frustum used by this camera.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#pitch">pitch</a> : Number<div class="summaryTableDescription">
   The pitch Euler angle (independent rotation about the x-Axis) for the local transformation.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#position">position</a> : <a href="../core/math/Vector3D.html">Vector3D</a>
<div class="summaryTableDescription">
   The origin of the object's coordinate system as a Vector3D object 
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#projection">projection</a> : <a href="../projections/IProjection.html">IProjection</a>
<div class="summaryTableDescription">
   The projection that projects 3D coordinates to 2D clip coordinates on the view plane.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#roll">roll</a> : Number<div class="summaryTableDescription">
   The roll Euler angle (independent rotation about the z-Axis) for the local transformation.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#rotationX">rotationX</a> : Number<div class="summaryTableDescription">
   The rotation about the X-Axis in radians 
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#rotationY">rotationY</a> : Number<div class="summaryTableDescription">
   The rotation about the Y-Axis in radians 
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#rotationZ">rotationZ</a> : Number<div class="summaryTableDescription">
   The rotation about the Z-Axis in radians 
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#scaleX">scaleX</a> : Number<div class="summaryTableDescription">
   The scale factor along the X-Axis
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#scaleY">scaleY</a> : Number<div class="summaryTableDescription">
   The scale factor along the Y-Axis
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#scaleZ">scaleZ</a> : Number<div class="summaryTableDescription">
   The scale factor along the Z-Axis
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#target">target</a> : <a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a>
<div class="summaryTableDescription">
   The target SpatialObject3D to which the camera is locked.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#transform">transform</a> : <a href="../core/math/Transformation3D.html">Transformation3D</a>
<div class="summaryTableDescription">
   The transformation object
   
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#x">x</a> : Number<div class="summaryTableDescription">
   The x-coordinate of the origin of the object's coordinate system
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#y">y</a> : Number<div class="summaryTableDescription">
   The y-coordinate of the origin of the object's coordinate system
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#yaw">yaw</a> : Number<div class="summaryTableDescription">
   The yaw Euler angle (independent rotation about the y-Axis) for the local transformation.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#z">z</a> : Number<div class="summaryTableDescription">
   The z-coordinate of the origin of the object's coordinate system
   </div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
</table>
</div>
<a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedProperty" id="hideInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(false,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Properties</a>
</div>
<div class="showInheritedProtectedProperty" id="showInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(true,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Properties</a>
</div>
</div>
<table id="summaryTableProtectedProperty" class="summaryTable hideInheritedProtectedProperty" cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../core/objects/SpatialObject3D.html#_transform">_transform</a> : <a href="../core/math/Transformation3D.html">Transformation3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<div class="showHideLinks">
<div class="hideInheritedMethod" id="hideInheritedMethod">
<a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Methods</a>
</div>
<div class="showInheritedMethod" id="showInheritedMethod">
<a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Methods</a>
</div>
</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#Camera3D()">Camera3D</a>(fov:Number, projection:<a href="../projections/IProjection.html">IProjection</a> = null)</div>
<div class="summaryTableDescription">
   Creates a new Camera3D object.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#boom()">boom</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a booming movement.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dolly()">dolly</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a dollying movement.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../core/objects/SpatialObject3D.html#lookAt()">lookAt</a>(target:<a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a>):void</div>
<div class="summaryTableDescription">
   Sets the transformation matrix so that the current object is oriented towards a target.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../core/objects/SpatialObject3D.html#moveBackward()">moveBackward</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a backwards movement.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../core/objects/SpatialObject3D.html#moveDown()">moveDown</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a downwards movement.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../core/objects/SpatialObject3D.html#moveForward()">moveForward</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a forward movement.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../core/objects/SpatialObject3D.html#moveLeft()">moveLeft</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a strafing movement to the left.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../core/objects/SpatialObject3D.html#moveRight()">moveRight</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a strafing movement to the right.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../core/objects/SpatialObject3D.html#moveUp()">moveUp</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs an upwards movement.</div>
</td><td class="summaryTableOwnerCol"><a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#pan()">pan</a>(distance:Number):void</div>
<div class="summaryTableDescription">
   Performs a panning movement.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#transformToViewCoords()">transformToViewCoords</a>(pipelineData:<a href="../core/pipeline/RenderPipelineData.html">RenderPipelineData</a>, camera:<a href="Camera3D.html">Camera3D</a>, parentTransform:<a href="../core/math/Transformation3D.html">Transformation3D</a> = null, recursive:Boolean = true):void</div>
<div class="summaryTableDescription">
   Updates the camera's view-transformation matrix, and updates the view frustum and projection if necessary.</div>
</td><td class="summaryTableOwnerCol">Camera3D</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="fieldOfView"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fieldOfView</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>fieldOfView:Number</code>&nbsp;&nbsp;[read-write]<p>
   The horizontal angle of view that can be seen through the camera's "lens". Lowering the value will cause the camera to zoom in.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get fieldOfView():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set fieldOfView(value:Number):void</code>
<br>
</div>
<a name="frustum"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">frustum</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>frustum:<a href="../core/frustum/ViewFrustum.html">ViewFrustum</a></code>&nbsp;&nbsp;[read-write]<p>
   The view frustum used by this camera.
   
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get frustum():<a href="../core/frustum/ViewFrustum.html">ViewFrustum</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set frustum(value:<a href="../core/frustum/ViewFrustum.html">ViewFrustum</a>):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/frustum/ViewFrustum.html" target="">com.derschmale.wick3d.core.frustum.ViewFrustum</a>
</div>
</div>
<a name="projection"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">projection</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var projection:<a href="../projections/IProjection.html">IProjection</a></code><p>
   The projection that projects 3D coordinates to 2D clip coordinates on the view plane.
   </p></div>
<a name="target"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">target</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>target:<a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></code>&nbsp;&nbsp;[read-write]<p>
   The target SpatialObject3D to which the camera is locked. If set, the camera's rotational properties will be ignored and it will always point toward the target's origin. If a value of null is passed, the camera target is removed.
   
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get target():<a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set target(value:<a href="../core/objects/SpatialObject3D.html">SpatialObject3D</a>):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/objects/SpatialObject3D.html" target="">com.derschmale.wick3d.core.objects.SpatialObject3D</a>
</div>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="Camera3D()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">Camera3D</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function Camera3D(fov:Number, projection:<a href="../projections/IProjection.html">IProjection</a> = null)</code><p>
   Creates a new Camera3D object.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">fov</span>:Number</code> &mdash; The horizontal angle of view that can be seen through the camera's "lens".
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">projection</span>:<a href="../projections/IProjection.html">IProjection</a></code> (default = <code>null</code>)<code></code> &mdash; The projection that projects 3D coordinates to 2D clip coordinates on the view plane. If no value is specified, PerspectiveProjection is used as a default.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../projections/PerspectiveProjection.html" target="">com.derschmale.wick3d.projections.PerspectiveProjection</a>
</div>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="boom()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">boom</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function boom(distance:Number):void</code><p>
   Performs a booming movement. The camera will move by a certain distance in the direction of its local Y-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the Y-axis.
   </td>
</tr>
</table>
</div>
<a name="dolly()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dolly</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function dolly(distance:Number):void</code><p>
   Performs a dollying movement. The camera will move by a certain distance in the direction of its local Z-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the Z-axis.
   </td>
</tr>
</table>
</div>
<a name="pan()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pan</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function pan(distance:Number):void</code><p>
   Performs a panning movement. The camera will move by a certain distance in the direction of its local X-axis.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">distance</span>:Number</code> &mdash; The distance to move the camera along the X-axis.
   </td>
</tr>
</table>
</div>
<a name="transformToViewCoords()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">transformToViewCoords</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function transformToViewCoords(pipelineData:<a href="../core/pipeline/RenderPipelineData.html">RenderPipelineData</a>, camera:<a href="Camera3D.html">Camera3D</a>, parentTransform:<a href="../core/math/Transformation3D.html">Transformation3D</a> = null, recursive:Boolean = true):void</code><p>
   Updates the camera's view-transformation matrix, and updates the view frustum and projection if necessary. This is typically called from the RenderPipeline in an early stage with each render.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">pipelineData</span>:<a href="../core/pipeline/RenderPipelineData.html">RenderPipelineData</a></code> &mdash; The RenderPipelineData for the currently used RenderPipeline
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">camera</span>:<a href="Camera3D.html">Camera3D</a></code> &mdash; The Transformation3D object of the camera used to transform world coordinates to view coordinates. In a Camera3D object, this is not used.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parentTransform</span>:<a href="../core/math/Transformation3D.html">Transformation3D</a></code> (default = <code>null</code>)<code></code> &mdash; The Transformation3D object of the camera used to transform local object coordinates to the parent's local coordinates. In a Camera3D object, this is not used.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">recursive</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Specifies whether the object's children should be transformed. In a Camera3D object, this is not used.
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/pipeline/RenderPipelineData.html" target="">com.derschmale.wick3d.core.pipeline.RenderPipelineData</a>
<br>
<a href="../core/math/Transformation3D.html" target="">com.derschmale.wick3d.core.math.Transformation3D</a>
</div>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
